let box2=document.querySelector('.booy-er')
console.log(box2);

(async function(){
  let txt=await PromiseAjax({
        url:'./php/lbe.php'

    })
    var arl=eval('('+txt+')');
    var str='';
    for (let i=0;i<6;i++){
        str+=`
        <li>
        <img src="${arl[i].src}" style="width:300px;height:350px">
        <a href="./xqy.html"?id=${arl[i].id}>我要看看</a>
        <p>${arl[i].name}</p>
        </li>  
        `
    }
    box2.innerHTML=str
})()
